How do I get the IP address into a batch-file variable? - Stack Overflow echo Network Connection Test ipconfig